package com.beiqian;

import dev.langchain4j.model.chat.ChatLanguageModel;
import jakarta.annotation.Resource;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;

/**
 * @Author: beiqian
 * @Date: 2024-08-09 21:15
 * @Description:
 */
@SpringBootTest
public class test {
    @Resource
    private ChatLanguageModel chatLanguageModel;
    @Test
    public void test1(){
        String generate = chatLanguageModel.generate("你好");
        System.out.println(generate);
    }

}
